<template>
  <v-card>
    <v-card-title>
      报文展示
       <v-spacer></v-spacer>
        <v-text-field v-model="seq" label="交易主流水"></v-text-field>
       <v-btn small color="primary" @click="show">测试</v-btn>
    </v-card-title>
    <v-card-text>
        <json-view :json="jsonData"></json-view>
    </v-card-text>
  </v-card>
</template>

<script>
import JsonView from '@/components/JsonView'

export default {
  components: { JsonView },
  data: () => ({
   
    jsonData:{},
    seq:''
  }),

  computed: {
    
  },

  watch: {
    
  },

  created() {
    
  },

  methods: {
    show() {
       this.axios.get("/jsonView/list/"+this.seq).then(res => {
         this.jsonData = res.data
      });
      
    }
  }
};
</script>